home *** CD-ROM | disk | FTP | other *** search
/ SVM Mac 58 / CD-ROM N°58.iso / navigateurs / Netscape Folder / chrome / navigator / content / default / openLocation.xul < prev    next >
Encoding:
Extensible Markup Language  |  2000-04-19  |  3.4 KB  |  98 lines  |  [TEXT/MOSS]

  1. <?xml version="1.0"?> 
  2.  
  3. <!-- The contents of this file are subject to the Netscape Public
  4. License Version 1.1 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of
  6. the License at http://www.mozilla.org/NPL/
  7.  
  8. Software distributed under the License is distributed on an "AS
  9. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10. implied. See the License for the specific language governing
  11. rights and limitations under the License.
  12.  
  13. The Original Code is Mozilla Communicator client code, released
  14. March 31, 1998.
  15.  
  16. The Initial Developer of the Original Code is Netscape
  17. Communications Corporation. Portions created by Netscape are
  18. Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19. Rights Reserved.
  20.  
  21. Contributor(s): Michael Lowe <michael.lowe@bigfoot.com> -->
  22.  
  23. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?> 
  24.  
  25. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  26.  
  27. <!DOCTYPE window SYSTEM "chrome://navigator/locale/openLocation.dtd" >
  28.             
  29.  
  30. <window
  31.          xmlns:html="http://www.w3.org/TR/REC-html40"
  32.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  33.          title="&caption.label;"
  34.          onload="onLoad()"
  35.          class="dialog"
  36.          align="vertical"> 
  37.               
  38.    <html:script language="javascript" src="openLocation.js"/>
  39.                    
  40.     <keyset id="keyset"/>
  41.                    
  42.         <box align="vertical" style="width: 43em; margin:1em;">
  43.         
  44.           <html:label>
  45.                 &enter.label;
  46.             </html:label>
  47.  
  48.           <html:label style="margin-left: 1em;" >
  49.             &example.label;
  50.             <html:i>
  51.             &exampleURL.label;
  52.             </html:i>
  53.             </html:label>
  54.             
  55.           <html:input style="margin-left: 1em;" id="dialog.input" type="text" flex="100%" onkeyup="onTyping(event.which)"/>
  56.  
  57.       <html:div style="margin-top: 0.5em; margin-left: 2em; margin-bottom: 1em;" >
  58.             <titledbutton class="dialog push" value="&chooseFile.label;" align="left" onclick="onChooseFile()"/>
  59.       </html:div>
  60.  
  61.       <html:div>
  62.         <html:div class="separator" align="horizontal" />
  63.       </html:div>
  64.  
  65.             <box align="horizontal" style="margin-top: 1em;" >
  66.         <html:div>
  67.           <html:label>&openWhere.label;</html:label>
  68.         </html:div>
  69.  
  70.         <box align="vertical" id="dialog.openWhereBox">
  71.             <html:div id="dialog.topWindowDiv">
  72.                        <html:input type="radio" name="openWhereRadio" id="dialog.topWindow"/>       
  73.                       <html:label for="dialog.topWindow">&topWindow.label;</html:label>
  74.             </html:div>
  75.             <html:div id="dialog.newWindowDiv">
  76.                        <html:input type="radio" name="openWhereRadio" id="dialog.newWindow"/>       
  77.                       <html:label for="dialog.newWindow">&newWindow.label;</html:label>
  78.             </html:div>
  79.             <html:div id="dialog.editNewWindowDiv">
  80.                        <html:input type="radio" name="openWhereRadio" id="dialog.editNewWindow"/>       
  81.                       <html:label for="dialog.editNewWindow">&editNewWindow.label;</html:label>
  82.             </html:div>
  83.         </box>
  84.  
  85.         <spring flex="100%"/> 
  86.  
  87.         <html:div>
  88.                 <box id="okCancelButtons"/>
  89.         </html:div>
  90.         
  91.         </box>
  92.       </box>
  93.         
  94.     <foo style="display:none;" id="openLabel" value="&open.label;"/>
  95.     <foo style="display:none;" id="chooseFileTitle" value="&chooseFileTitle.label;"/>
  96.         
  97.  </window>
  98.